#ifndef __LOGIN_H__
#define __LOGIN_H__

#include <string>
#include <iostream>
#include <fstream>
#include <vector>
using namespace std;

class Login
{

public:
    string m_strID;
    string m_strPassword;
    string m_strAccountStatus;
    Login():m_strID(""),m_strPassword(""),m_strAccountStatus("")
    {}
    Login(string id,string pass,string status):m_strID(id),m_strPassword(pass),m_strAccountStatus(status)
    {  }

private:
};
class LoginSystem
{
public:
    LoginSystem(string file);
    bool LoadLoginFile();
    bool LoginUser();
private:
    const string m_strLoginFile;
    vector<Login> m_vecLogin;

};

#endif //__LOGIN_H__

